package com.gismore.demo.dagger;

import dagger.Module;
import dagger.Provides;

import javax.inject.Singleton;

@Module
public class KettleModule {

	@Singleton
	@Provides
	Heater providesHeater(){
		return new Heater();
	}

	@Singleton
	@Provides
	Kettle providesKettle(Heater heater){
		return new Kettle(heater);
	}
}
